package org.acghub.mtdb.demo.table;

import org.acghub.mtdb.common.exception.MtdbException;
import org.acghub.mtdb.common.Pair;

/**
* xmlgen自动生成，不要修改此文件！！！
*/
public final class Person {
	public static Long minKey() throws MtdbException {
		return _Tables_.INSTANCE.person.minKey();
	}

	public static Long maxKey() throws MtdbException {
		return _Tables_.INSTANCE.person.maxKey();
	}

	public static Long nextKey() throws MtdbException {
		return _Tables_.INSTANCE.person.nextKey();
	}

	public static Pair<Long, org.acghub.mtdb.demo.bean.Person> insert() throws MtdbException {
		return _Tables_.INSTANCE.person.insert();
	}

	public static boolean exists(Long k) throws MtdbException {
		return _Tables_.INSTANCE.person.exists(k);
	}

	public static org.acghub.mtdb.demo.bean.Person select(Long k) throws MtdbException {
		return _Tables_.INSTANCE.person.select(k);
	}

	public static org.acghub.mtdb.demo.bean.Person get(Long k) throws MtdbException {
		return _Tables_.INSTANCE.person.get(k);
	}

	public static org.acghub.mtdb.demo.bean.Person insert(Long k) throws MtdbException {
		return _Tables_.INSTANCE.person.insert(k);
	}

	public static boolean insert(Long k, org.acghub.mtdb.demo.bean.Person v) throws MtdbException {
		return _Tables_.INSTANCE.person.insert(k, v);
	}

	public static void delete(Long k) throws MtdbException {
		_Tables_.INSTANCE.person.delete(k);
	}

	public static void truncate() throws MtdbException {
		_Tables_.INSTANCE.person.truncate();
	}

	public static long count() throws MtdbException {
		return _Tables_.INSTANCE.person.count();
	}

	public static org.acghub.mtdb.demo.bean.Person newPerson() {
		return new org.acghub.mtdb.demo.bean.Person();
	}

}
